package com.wuyoucar.entity;

import java.io.Serializable;
import java.util.Date;

/*
用户绑定的车辆信息表
 */
public class TCarinfo implements Serializable {
    private Integer carinfoid;
    private String  vin;//车架号
    private String  carnumber;//车牌号
    private String  cartype; // 车辆型号
    private Date    firstchecktime;//首次登记时间
    private Integer seatamount;// 车座数量
    private Date    createtime;//创建时间
    private Date    lastmodifytime;//最后一次修改时间;
    private Integer userid;
    private String  engineid;//发动机号

    public TCarinfo() {
    }

    public TCarinfo(Integer carinfoid, String vin, String carnumber, String cartype, Date firstchecktime, Integer seatamount, Date createtime, Date lastmodifytime, Integer userid, String engineid) {
        this.carinfoid = carinfoid;
        this.vin = vin;
        this.carnumber = carnumber;
        this.cartype = cartype;
        this.firstchecktime = firstchecktime;
        this.seatamount = seatamount;
        this.createtime = createtime;
        this.lastmodifytime = lastmodifytime;
        this.userid = userid;
        this.engineid = engineid;
    }

    public TCarinfo(String vin, String carnumber, String cartype, Date firstchecktime, Integer seatamount, Date lastmodifytime, Integer userid) {
        this.vin = vin;
        this.carnumber = carnumber;
        this.cartype = cartype;
        this.firstchecktime = firstchecktime;
        this.seatamount = seatamount;
        this.lastmodifytime =lastmodifytime;
        this.userid =userid;
    }

    public TCarinfo(String vin, String carnumber) {
        this.vin = vin;
        this.carnumber = carnumber;
    }

    public Integer getCarinfoid() {
        return carinfoid;
    }

    public void setCarinfoid(Integer carinfoid) {
        this.carinfoid = carinfoid;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype;
    }

    public Date getFirstchecktime() {
        return firstchecktime;
    }

    public void setFirstchecktime(Date firstchecktime) {
        this.firstchecktime = firstchecktime;
    }

    public Integer getSeatamount() {
        return seatamount;
    }

    public void setSeatamount(Integer seatamount) {
        this.seatamount = seatamount;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getEngineid() {
        return engineid;
    }

    public void setEngineid(String engineid) {
        this.engineid = engineid;
    }

    @Override
    public String toString() {
        return "TCarinfo{" + "carinfoid=" + carinfoid + ", vin='" + vin + '\'' + ", carnumber='" + carnumber + '\'' + ", cartype='" + cartype + '\'' + ", firstchecktime=" + firstchecktime + ", seatamount=" + seatamount + ", createtime=" + createtime + ", lastmodifytime=" + lastmodifytime + ", userid=" + userid + ", engineid='" + engineid + '\'' + '}';
    }
}
